<?php
declare (strict_types = 1);

namespace app\command\coupon;

use app\common\service\coupon\CouponSyncService;
use think\console\Command;
use think\console\Input;
use think\console\Output;

class SyncJutuike extends Command
{

    protected function configure()
    {
        // 指令配置
        $this->setName('syncjutuike')
            ->setDescription('聚推客同步商品：');
    }

    protected function execute(Input $input, Output $output)
    {
        $service = new CouponSyncService();
        $service->sync(CouponSyncService::CHANNEL_JUTUIKE);

    }

}
